package team.gs.model;

import java.util.Random;

import org.andengine.opengl.font.Font;
import org.andengine.ui.activity.BaseGameActivity;
import org.andengine.ui.activity.SimpleLayoutGameActivity;

public class Share {
	public static SimpleLayoutGameActivity activity;
	public static int width = 800;
	public static int height = 480;
	public static String Version = "1.0";
	public static Font black20;

	public static int randomInteger(int start, int end, Random random) {
		int range = end - start + 1;
		int fraction = (int) (range * random.nextDouble());
		int randomNumber = fraction + start;
		return randomNumber;
	}

	public static double randomDouble(double start, double end, Random random) {
		double range = end - start + 1;
		double fraction = (range * random.nextDouble());
		double randomNumber = fraction + start;
		return randomNumber;
	}
}
